import React from 'react'
import styles from "./404.module.css"
export default function Errors() {
    const goHome=()=>{
         window.location.href="/HomePage#/HomePage"     
    }
  return (
    <div className={styles["err"]} style={{width:"100%",height:"100%"}}>
        <img className={styles["img"]} src={process.env.PUBLIC_URL + '/404.gif'} alt="404页面" />
        <div onClick={goHome} className={styles["btn"]}>返回首页</div>
    </div>
  )
}
